package net.zjitc.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("vueshop_category")
public class Category {
    @TableId(type = IdType.AUTO)//自增主键
    private Integer id;
    private String name;
    private String picture;
    private Integer pid;
    private String pname;
}
